package operations;

import book.Booklist;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class ExitOperation implements IOperation{
    //退出系统
    @Override
    public void work(Booklist booklist) {
        System.out.println("退出系统！");

        //退出系统的操作,程序结束
        System.exit(0);
    }
}
